# $OpenBSD: Makefile,v 1.20 2013/03/21 08:48:57 ajacoutot Exp $

COMMENT=		drop-down terminal emulator

DISTNAME=		tilda-0.9.6
REVISION=		8
CATEGORIES=		x11

HOMEPAGE=		http://tilda.sourceforge.net/

# GPL
PERMIT_PACKAGE_CDROM=	Yes

MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=tilda/}

MODULES=		devel/gettext

WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat glade-2.0
WANTLIB += fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0
WANTLIB += glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0
WANTLIB += gtk-x11-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0
WANTLIB += pixman-1 png pthread xml2 z pthread-stubs xcb confuse vte
WANTLIB += GL Xxf86vm drm xcb-render xcb-shm

RUN_DEPENDS=		devel/desktop-file-utils
LIB_DEPENDS=		devel/libconfuse \
			devel/libglade2 \
			devel/vte

USE_GMAKE=		Yes

CONFIGURE_STYLE=	gnu

post-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tilda
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/tilda

.include <bsd.port.mk>
